package com.nursing.bean;

import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

// 入住管理表
@Component
public class CheckinCheckout {
    private Integer id;
    private Integer elderId; // 老人id
    private LocalDateTime checkinDate; // 入住时间
    private LocalDateTime checkoutDate; // 退房时间
    private String roomNumber; // 房间号

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getElderId() {
        return elderId;
    }

    public void setElderId(Integer elderId) {
        this.elderId = elderId;
    }

    public LocalDateTime getCheckinDate() {
        return checkinDate;
    }

    public void setCheckinDate(LocalDateTime checkinDate) {
        this.checkinDate = checkinDate;
    }

    public LocalDateTime getCheckoutDate() {
        return checkoutDate;
    }

    public void setCheckoutDate(LocalDateTime checkoutDate) {
        this.checkoutDate = checkoutDate;
    }

    public String getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(String roomNumber) {
        this.roomNumber = roomNumber;
    }
}
